<template>
	<view class="">
		{{name}}
		{{list.a}}
		<view class="button" :class="'bg-' + themeColor.name" @click="change">
			改变
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				list:{
					a:'123',
					b:'456'
				},
				name:'初始的set值'
			}
		},
		methods:{
			change(){
				// this.list.a = this.list.b
				this.$set(this.list,'a',"哈哈哈哈")
			}
		}
	}
</script>

<style>
	.button{
		margin: 20rpx 0;
		border-radius: 20rpx;
		height: 70rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		color: #FFFFFF;
		margin-bottom: 20rpx;
		
	}
</style>
